package com.thread.waitnotify;

/**多线程生产者消费者模型
 * @author DELL
 *
 */
public class ProducerConsumer {

	/**
     * @param args
     */
    public static void main(String[] args) {

        Product product = new Product();
        Producer producer = new Producer(product);
        Consumer consumer = new Consumer(product);

        new Thread(producer).start();
        new Thread(consumer).start();


    }

}
